<%--
  Created by IntelliJ IDEA.
  User: Eoly
  Date: 2016/12/8
  Time: 13:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>
<form action="${ pageContext.request.contextPath}/group-add" method="post" enctype="multipart/form-data">
  <textarea name="groupTitle" maxlength="50" placeholder="团标题"></textarea>
  <textarea name="groupDetail" maxlength="1000" placeholder="团内容"></textarea>
  <input type="text" name="priceOriginal" placeholder="原价"/><%--需要js控制输入只能为数字和小数点--%>
  <input type="text" name="price" placeholder="团购价格"/><%--需要js控制输入只能为数字和小数点--%>
  <input type="text" name="groupTargetNumber" placeholder="目标人数"/><%--需要js控制输入只能为数字--%>
  <%--<input type="hidden" name="typeId" value="" placeholder="类型id"/>--%>
  <select name="typeId">
    <option value="1">水果餐饮</option>
    <option value="2">多彩装扮</option>
    <option value="3">精美服饰</option>
    <option value="4">家居百货</option>
    <option value="5">母婴宝贝</option>
    <option value="6">健康运动</option>
    <option value="7">科技电子</option>
  </select>
  <input type="file" name="image" placeholder="选择图片"/>
  <input type="submit"/>
</form>


</body>
</html>
